package com.example.algorithm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sv_yd_screen")
public class DataInfo {

    private String id;

    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "Asia/Shanghai")
    @TableField("happen_date")
    private Date time;

    /**
     * 问题性质
     */
    @TableField("nature")
    private String questionQuality;
    /**
     * 提出单位
     */
    @TableField("put_unit")
    private String proposeUnit;
    /**
     * 责任主体单位
     */
    @TableField("duty_unit")
    private String responsibilityMainPart;

    /**
     * 协同单位
     */
    @TableField("patr_unit")
    private String coordinationMainBody;

    /**
     * 来源
     */
    @TableField("source")
    private String questionResource;

    /**
     * 问题类型
     */
    @TableField("problem_type")
    private String questionType;


    //private String isCancel;
    /**
     * 是否销号 1：销号
     */
    //@TableField("cancel_or_not")
    @TableField("transform_or_not")
    private Integer isCancel;

    /**
     * 督察场景
     */
    @TableField("supervise_type")
    private String supervisionScene;



}
